<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <style>
        iframe{border:1px solid red;}
    </style>
<body>
    <div id="container_news"></div>
    <div id="container_newsoverview"></div>
    <div id="container_screener"></div>
    <div id="container_savedscreener"></div>
    <div id="container_marketindex"></div>
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
    <script type="text/javascript" src="http://qsstage.morningstar.com/apis/common/apimanager.js"></script>
    <script type="text/javascript">
        
        //initialization for QSAPI object
        QSAPI.init("QUEST");
        
        QSAPI.createWidget(document.getElementById('container_news'), 'http://qsstage.morningstar.com/apis/api.jsp?instid=QUEST&module=news&symbol=XNYS:IBM&onNewsClick=newsClickCallback&onLoad=newsLoadCallback&format=html&htmlTabable=1&showDetail=0&proxyurl=http://www.quest.com/qsapi_proxy.html', {
            fixHeight: false,
            width: 500,
            height: 500
        });
        
        QSAPI.createWidget(document.getElementById('container_newsoverview'), 'http://qsstage.morningstar.com/apis/api.jsp?instid=QUEST&module=newsOverview&proxyurl=http://www.quest.com/qsapi_proxy.html', {
            fixHeight: false
        });
        
        QSAPI.createWidget(document.getElementById('container_screener'), 'http://qsstage.morningstar.com/apis/api.jsp?instid=QUEST&module=screener&fixHeight=false&onClickCheckbox=screenerClickCheckboxCallBack&onTickerClick=screenerClickCallback&proxyurl=http://www.quest.com/qsapi_proxy.html', {
            fixHeight: false
        });
        
        QSAPI.createWidget(document.getElementById('container_savedscreener'), 'http://qsstage.morningstar.com/apis/api.jsp?instid=QUEST&module=screener&type=snapshot&fixHeight=false&onTickerClick=screenerClickCallback&proxyurl=http://www.quest.com/qsapi_proxy.html', {
            fixHeight: false
        });
        
        QSAPI.createWidget(document.getElementById('container_marketindex'), 'http://qsstage.morningstar.com/apis/api.jsp?instid=QUEST&module=market&submodule=marketindex&width=500&proxyurl=http://www.quest.com/qsapi_proxy.html', {
            fixHeight: false
        });
    </script>
</body>
</html>